//
//  XCObserver.h
//  StudyDemo01
//
//  Created by 心晨 on 2024/6/2.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface XCObserver : NSObject

- (instancetype)initWithObserver:(NSObject *)observer forKeyPath:(NSString *)keyPath options:(NSKeyValueObservingOptions)options context:(nullable void *)context block:(void(^)(NSDictionary *change))block;

@end

NS_ASSUME_NONNULL_END
